{include file="inc/header.html"}
<div class="con" style="background-image:url({if $data.bg_page}{$data.bg_page}{else}{$TMPL}/dist/statics/images/index-bg.jpg{/if})">
    <div class="con-wrap">
        <div class="app-box">
            <div class="mark-img" id="icon">
                <img src="{$TMPL}/dist/statics/images/logo2.png" alt="{$data.app_logo}">
            </div>
            <div class="ewm" id="qrcode"><img src="{$TMPL}/dist/statics/images/ewm.png" alt=""></div>
            <h1><img src="{$TMPL}/dist/statics/images/zhibo.png"></h1>
            <div class="dakuang">
                <div class="app-download">
                    <div class="app ios">
                        <a href='{$data.ios_down_url}'><i class="icon iconfont">&#xe61f; </i> APP store</a>
                    </div>
                    {if $data.android_filename}
                    <div class="app android">
                        <a href="{$data.android_filename}"><i class="icon iconfont">&#xe604; </i> Android  </a>
                    </div>
                    {/if}
                </div>
            </div>
        </div>
        <div class="index-right animated fadeInUp" id="right">
            <img src="{$TMPL}/dist/statics/images/xdzb.png" data-src="{if $data.bg_app}{$data.bg_app}{else}{$TMPL}/dist/statics/images/phone.png{/if}" alt="">
        </div>
        <div class="blank0"></div>
        <div class="copyright">{$data.COPYRIGHT}&nbsp;{$data.NETWORK_FOR_RECORD}&nbsp;{$data.SITE_LICENSE}</div>
    </div>
</div>
<?php
$this->_var['dpagejs'][] = $this->_var['TMPL']."/dist/qrcode.js";
?>
<script type="text/javascript" src="{function name="parse_script" v="$dpagejs"}"></script>
<script type="text/javascript">
        function IsPC() {
            var userAgentInfo = navigator.userAgent;
            var Agents = ["Android", "iPhone",
                "SymbianOS", "Windows Phone",
                "iPad", "iPod"
            ];
            var flag = true;
            for (var v = 0; v < Agents.length; v++) {
                if (userAgentInfo.indexOf(Agents[v]) > 0) {
                    flag = false;
                    break;
                }
            }
            return flag;
        }
        var flag = IsPC(); //true为PC端，false为手机端
        if ((IsPC() == false)) {

        }
        if ((IsPC() == true)) {

        }
    </script>
<script type="text/javascript">
    window.onload = function () {
        /*
        var qrcode = new QRCode(document.getElementById("qrcode"), {
            width: 147, //设置宽高
            height: 147
        });
        qrcode.makeCode('{$data.qrcode_url}');
        */
    }
</script>
{include file="inc/footer.html"}